package br.com.megasena.web;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

@ManagedBean
@RequestScoped
public class HelloWorld {
	
	private String name;
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void doSomething(){
		System.out.println("Executando a função doSomething()");
	}
	
	public void ajaxCall() {
		name = name.toUpperCase();
	}
}
